3.5.5 \(\int \frac {x^3}{2+3 x^4+x^8} \, dx\) [405]

Optimal. Leaf size=21 \[ \frac {1}{4} \log \left (1+x^4\right )-\frac {1}{4} \log \left (2+x^4\right ) \]

[Out]

1/4*ln(x^4+1)-1/4*ln(x^4+2)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {1366, 630, 31} \begin {gather*} \frac {1}{4} \log \left (x^4+1\right )-\frac {1}{4} \log \left (x^4+2\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^3/(2 + 3*x^4 + x^8),x]

[Out]

Log[1 + x^4]/4 - Log[2 + x^4]/4

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 630

Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = Rt[b^2 - 4*a*c, 2]}, Dist[c/q, Int[1/Simp
[b/2 - q/2 + c*x, x], x], x] - Dist[c/q, Int[1/Simp[b/2 + q/2 + c*x, x], x], x]] /; FreeQ[{a, b, c}, x] && NeQ
[b^2 - 4*a*c, 0] && PosQ[b^2 - 4*a*c] && PerfectSquareQ[b^2 - 4*a*c]

Rule 1366

Int[(x_)^(m_.)*((a_) + (c_.)*(x_)^(n2_.) + (b_.)*(x_)^(n_))^(p_.), x_Symbol] :> Dist[1/n, Subst[Int[(a + b*x +
 c*x^2)^p, x], x, x^n], x] /; FreeQ[{a, b, c, m, n, p}, x] && EqQ[n2, 2*n] && EqQ[Simplify[m - n + 1], 0]

Rubi steps

\begin {align*} \int \frac {x^3}{2+3 x^4+x^8} \, dx &=\frac {1}{4} \text {Subst}\left (\int \frac {1}{2+3 x+x^2} \, dx,x,x^4\right )\\ &=\frac {1}{4} \text {Subst}\left (\int \frac {1}{1+x} \, dx,x,x^4\right )-\frac {1}{4} \text {Subst}\left (\int \frac {1}{2+x} \, dx,x,x^4\right )\\ &=\frac {1}{4} \log \left (1+x^4\right )-\frac {1}{4} \log \left (2+x^4\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 21, normalized size = 1.00 \begin {gather*} \frac {1}{4} \log \left (1+x^4\right )-\frac {1}{4} \log \left (2+x^4\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^3/(2 + 3*x^4 + x^8),x]

[Out]

Log[1 + x^4]/4 - Log[2 + x^4]/4

________________________________________________________________________________________

Maple [A]
time = 0.02, size = 18, normalized size = 0.86

method result size
default \(\frac {\ln \left (x^{4}+1\right )}{4}-\frac {\ln \left (x^{4}+2\right )}{4}\) \(18\)
norman \(\frac {\ln \left (x^{4}+1\right )}{4}-\frac {\ln \left (x^{4}+2\right )}{4}\) \(18\)
risch \(\frac {\ln \left (x^{4}+1\right )}{4}-\frac {\ln \left (x^{4}+2\right )}{4}\) \(18\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3/(x^8+3*x^4+2),x,method=_RETURNVERBOSE)

[Out]

1/4*ln(x^4+1)-1/4*ln(x^4+2)

________________________________________________________________________________________

Maxima [A]
time = 0.29, size = 17, normalized size = 0.81 \begin {gather*} -\frac {1}{4} \, \log \left (x^{4} + 2\right ) + \frac {1}{4} \, \log \left (x^{4} + 1\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3/(x^8+3*x^4+2),x, algorithm="maxima")

[Out]

-1/4*log(x^4 + 2) + 1/4*log(x^4 + 1)

________________________________________________________________________________________

Fricas [A]
time = 0.33, size = 17, normalized size = 0.81 \begin {gather*} -\frac {1}{4} \, \log \left (x^{4} + 2\right ) + \frac {1}{4} \, \log \left (x^{4} + 1\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3/(x^8+3*x^4+2),x, algorithm="fricas")

[Out]

-1/4*log(x^4 + 2) + 1/4*log(x^4 + 1)

________________________________________________________________________________________

Sympy [A]
time = 0.04, size = 15, normalized size = 0.71 \begin {gather*} \frac {\log {\left (x^{4} + 1 \right )}}{4} - \frac {\log {\left (x^{4} + 2 \right )}}{4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**3/(x**8+3*x**4+2),x)

[Out]

log(x**4 + 1)/4 - log(x**4 + 2)/4

________________________________________________________________________________________

Giac [A]
time = 3.93, size = 17, normalized size = 0.81 \begin {gather*} -\frac {1}{4} \, \log \left (x^{4} + 2\right ) + \frac {1}{4} \, \log \left (x^{4} + 1\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3/(x^8+3*x^4+2),x, algorithm="giac")

[Out]

-1/4*log(x^4 + 2) + 1/4*log(x^4 + 1)

________________________________________________________________________________________

Mupad [B]
time = 0.06, size = 16, normalized size = 0.76 \begin {gather*} -\frac {\mathrm {atanh}\left (\frac {256}{9\,\left (144\,x^4+160\right )}-\frac {7}{9}\right )}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3/(3*x^4 + x^8 + 2),x)

[Out]

-atanh(256/(9*(144*x^4 + 160)) - 7/9)/2

________________________________________________________________________________________